import { FormCreateItem } from '@/types/form-create';
import { SelectProps } from 'naive-ui';

export interface QFormCreateProps {
	items?: FormCreateItem[];
	initialValues?: Record<string, any>;
	labelWidth?: string | number;
}

export interface TreeSelectProps {
	value?: string | string[];
	multiple?: boolean;
	options: any[];
	placeholder?: string;
}

export type DataSelectProps = {
	ucloudDb: UniHelper.UnicloudDbProps;
};

export type DataCheckboxProps = {
	ucloudDb: UniHelper.UnicloudDbProps;
};